rockchip/rk3399: Split M0 binary into two
authorLin Huang <[email protected]>
Fri, 20 Apr 2018 07:55:21 +0000 (15:55 +0800)
committerLin Huang <[email protected]>
Tue, 15 May 2018 08:31:09 +0000 (16:31 +0800)
commitff4735cfdfde273866a7e079dedec27b1e11438e
tree24dcdc1a6b339a628348dd95c1d4da3314ee7365
parent133598cb7d2ae5fabb020123423a22ff68915d8f
rockchip/rk3399: Split M0 binary into two

All the m0 code run in SRAM before, but we need to watch PMU_POWER_ST
when SOC enter into FSM, and SRAM will shutdown during this time, so
this code need run in PMUSRAM. But PMUSRAM only 8K space, we can not
put all the m0 binary into PMUSRAM, Split the M0 binary into two, dram
part still run in SRAM, and suspend part run in PMUSRAM.

Change-Id: Ie08bdf3e2b8838f12b9297fe60ab0aad219684b1
Signed-off-by: Lin Huang <[email protected]>
14 files changed:
plat/rockchip/rk3399/drivers/dram/dfs.c
plat/rockchip/rk3399/drivers/m0/Makefile
plat/rockchip/rk3399/drivers/m0/include/rk3399_mcu.h
plat/rockchip/rk3399/drivers/m0/src/dram.c
plat/rockchip/rk3399/drivers/m0/src/main.c [deleted file]
plat/rockchip/rk3399/drivers/m0/src/startup.c
plat/rockchip/rk3399/drivers/m0/src/suspend.c
plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
plat/rockchip/rk3399/drivers/pmu/m0_ctl.h
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/pmu_fw.c
plat/rockchip/rk3399/include/plat.ld.S
plat/rockchip/rk3399/include/shared/m0_param.h
plat/rockchip/rk3399/platform.mk